package com.farm.project.controller;

import com.farm.cbtg.domain.ex.CatalogDomain;
import com.farm.cbtg.service.AppcatalogServiceInter;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;
import javax.annotation.Resource;
import org.apache.log4j.Logger;
import javax.servlet.http.HttpSession;
import com.farm.core.page.ViewMode;
import com.farm.web.WebUtils;

/* *
 *功能：业务分类控制层
 *详细：
 *
 *版本：v0.1
 *作者：FarmCode代码工程
 *日期：20150707114057
 *说明：
 */
@RequestMapping("/procatalog")
@Controller
public class ProjectCatalogController extends WebUtils {
	private final static Logger log = Logger.getLogger(ProjectCatalogController.class);
	@Resource
	private AppcatalogServiceInter appCatalogServiceImpl;

	@RequestMapping("/list")
	public ModelAndView index(HttpSession session) {
		return ViewMode.getInstance().putAttr("domain", CatalogDomain.PROJECT)
				.returnModelAndView("cbtg/AppcatalogResult");
	}
}
